﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userinfo.aspx.cs" Inherits="E1_eMart.admin.userinfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="vi" xml:lang="vi">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <head>
        <title>eMart Manager's Site</title>
        <link rel="stylesheet" type="text/css" href="../css/base.css">
        <link rel="stylesheet" type="text/css" href="../css/dashboard.css">
    </head>
    <meta name="robots" content="NONE,NOARCHIVE">
    <body class="dashboard">
        <form id="form1" runat="server">
        <!-- Container -->
        <div id="container">
            <!-- Header -->
            <div id="header">
                <div id="branding">
                    <h1 id="site-name">
                        eMart Administration</h1>
                        <span><a href="../index.aspx">eMart Home</a></span>
                </div>
                <div id="user-tools">
                    Chào mừng bạn, <strong>admin1</strong>. <a href="#">Đổi mật khẩu</a> / <a href="#">
                        Thoát</a>
                </div>
            </div>
            <!-- END Header -->
            <div class="admin_nav">
                <ul>
                    <li><a href="dashboard.aspx">
                        <img src="../images/house.png" alt="">Admin Home</a></li>
                    <li><a href="usermanagement.aspx">
                        <img src="../images/page_edit.png" alt="">User Management</a></li>
                    <li><a href="dashboard.aspx">
                        <img src="../images/plugin_edit.png" alt="">Statistics</a></li>
                    <li><a href="product_managerment.aspx">
                        <img src="../images/table_edit.png" alt="">Product Management</a></li>
                    <li><a href="comment_management.aspx" target="_blank">
                        <img src="../images/world.png" alt="">Comment Management</a></li>
                    <li><a href="producttype_management.aspx">
                        <img src="../images/table_edit.png" alt="">Product Type Management</a></li>
                </ul>
            </div>
            <style><!--

        .admin_nav {
            margin-top:10px;
            margin-left:15px;
            vertical-align:middle;
        }
        .admin_nav img {
            vertical-align:middle;
            margin-right:5px;
        }
        .admin_nav ul {
            padding:0;
            margin:0;
        }
        .admin_nav li {
            display:inline-block;
            margin-left:0;
        }
        .admin_nav li a {
            display:inline-block;
            padding:5px 20px;
            background-color: #c7e0c7;
            border-radius:10px;
            font-size:11px;
        }
        .admin_nav li a:active {
            background-color: #b3c9b3;
        }
        -->
    </style>
            <!-- Content -->
            <div id="content" class="colMS">
                <h1>
                    User Management</h1>
                <div id="content-main">
                    <label>
                    <asp:DropDownList ID="drdlLock" runat="server">
                        <asp:ListItem>Lock</asp:ListItem>
                        <asp:ListItem>Unlock</asp:ListItem>
                    </asp:DropDownList>
                        </label>
                   <div id="input_fname">
                        <p>Full Name*:</p>
                        <p>
                            <asp:TextBox ID="tbName" runat="server"></asp:TextBox>        
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tbName" ErrorMessage="Full name is not empty" 
            ForeColor="#FF3300"></asp:RequiredFieldValidator>                
                        </p>
                   </div>   
                    <div id="input_Female">                                                           
                         <p>
                             <asp:DropDownList ID="drdlGioiTinh" runat="server">
                                 <asp:ListItem>Nữ</asp:ListItem>
                                 <asp:ListItem>Nam</asp:ListItem>
                             </asp:DropDownList>
                        </p>
                    </div>               
                    <p>
                        Day of Birth:</p>
                        <p>
                      <asp:DropDownList ID="drdlThang" runat="server">
            <asp:ListItem>-Month-</asp:ListItem>
            <asp:ListItem>January</asp:ListItem>
            <asp:ListItem>February</asp:ListItem>
            <asp:ListItem Value="March"></asp:ListItem>
            <asp:ListItem>April</asp:ListItem>
            <asp:ListItem>May</asp:ListItem>
            <asp:ListItem>June</asp:ListItem>
            <asp:ListItem>July</asp:ListItem>
            <asp:ListItem>August</asp:ListItem>
            <asp:ListItem>September</asp:ListItem>
            <asp:ListItem>October</asp:ListItem>
            <asp:ListItem>November</asp:ListItem>
            <asp:ListItem>December</asp:ListItem>
        </asp:DropDownList>
        / <asp:DropDownList ID="drdlNgay" runat="server">
            <asp:ListItem>-Day-</asp:ListItem>
            <asp:ListItem>01</asp:ListItem>
            <asp:ListItem>02</asp:ListItem>
            <asp:ListItem>03</asp:ListItem>
            <asp:ListItem>04</asp:ListItem>
            <asp:ListItem>05</asp:ListItem>
            <asp:ListItem>06</asp:ListItem>
            <asp:ListItem>07</asp:ListItem>
            <asp:ListItem>08</asp:ListItem>
            <asp:ListItem>09</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>21</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>23</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>26</asp:ListItem>
            <asp:ListItem>27</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>29</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>31</asp:ListItem>
        </asp:DropDownList>
        / <asp:DropDownList ID="drdlNam" runat="server">
            <asp:ListItem>-Year-</asp:ListItem>
            <asp:ListItem>1993</asp:ListItem>
            <asp:ListItem>1992</asp:ListItem>
            <asp:ListItem>1991</asp:ListItem>
            <asp:ListItem>1990</asp:ListItem>
            <asp:ListItem>1989</asp:ListItem>
            <asp:ListItem>1988</asp:ListItem>
            <asp:ListItem>1987</asp:ListItem>
            <asp:ListItem>1986</asp:ListItem>
            <asp:ListItem>1985</asp:ListItem>
            <asp:ListItem>1984</asp:ListItem>
            <asp:ListItem>1983</asp:ListItem>
            <asp:ListItem>1982</asp:ListItem>
            <asp:ListItem>1981</asp:ListItem>
            <asp:ListItem>1980</asp:ListItem>
        </asp:DropDownList>                                 
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
            ControlToValidate="drdlNgay" ErrorMessage="Day not selected" 
            Operator="DataTypeCheck" Type="Integer" ForeColor="#FF3300"></asp:CompareValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:CompareValidator ID="CompareValidator2" runat="server" 
            ControlToValidate="drdlNam" ErrorMessage="Year not selected" 
            Operator="DataTypeCheck" Type="Integer" ForeColor="#FF3300"></asp:CompareValidator>                                       
                        </p>
                    <p>
                        Type of This Account:</p>
                      <asp:DropDownList ID="drdlLoaiTaiKhoan" runat="server">           
            <asp:ListItem>User</asp:ListItem>
            <asp:ListItem>Manager</asp:ListItem>            
            <asp:ListItem>Admin</asp:ListItem>          
        </asp:DropDownList>
                    <br />
                    <p>
                        Email*:</p>
                    <p>
                    <asp:TextBox ID="tbEmail" runat="server" Width="220px"></asp:TextBox>                    
                    &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ControlToValidate="tbEmail" ErrorMessage="improperly formatted email" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
            ForeColor="#FF3300"></asp:RegularExpressionValidator>                                              
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
            ControlToValidate="tbEmail" ErrorMessage="not enter email" ForeColor="Red"></asp:RequiredFieldValidator>
                    <p>
                        Address:</p>
                    <p>
                        <asp:TextBox ID="tbAddress" runat="server" Width="220px"></asp:TextBox>
                        &nbsp;</p>
                    <p>
                        Phone number:</p>
                    <p>
                        <asp:TextBox ID="tbPhone" runat="server" Width="220px"></asp:TextBox>
                        &nbsp;</p>
                    <fieldset id="credit" class="clearfix">
                        <legend class="ftoggler">Change credit card</legend>
                        <p>
                            Cardholder name:</p>
                        <p>
        <asp:TextBox ID="tbCardName" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
                        <p>
                            Credit card number:
                        </p>
                        <p>                            
                          <asp:TextBox ID="tbCreditNumber" runat="server" Width="220px"></asp:TextBox>
                        </p>
                        <p>
                            Expiry date:</p>
                        <p>
                                  <asp:DropDownList ID="drdlThang0" runat="server">
            <asp:ListItem>-Month-</asp:ListItem>
            <asp:ListItem>01</asp:ListItem>
            <asp:ListItem>02</asp:ListItem>
            <asp:ListItem>03</asp:ListItem>
            <asp:ListItem>04</asp:ListItem>
            <asp:ListItem>05</asp:ListItem>
            <asp:ListItem>06</asp:ListItem>
            <asp:ListItem>07</asp:ListItem>
            <asp:ListItem>08</asp:ListItem>
            <asp:ListItem>09</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>13</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>17</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>19</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>21</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>23</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>25</asp:ListItem>
            <asp:ListItem>26</asp:ListItem>
            <asp:ListItem>27</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>29</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>31</asp:ListItem>
        </asp:DropDownList>
        <asp:DropDownList ID="drdlNam0" runat="server">
            <asp:ListItem>-Year-</asp:ListItem>
            <asp:ListItem>1993</asp:ListItem>
            <asp:ListItem>1992</asp:ListItem>
            <asp:ListItem>1991</asp:ListItem>
            <asp:ListItem>1990</asp:ListItem>
            <asp:ListItem>1989</asp:ListItem>
            <asp:ListItem>1988</asp:ListItem>
            <asp:ListItem>1987</asp:ListItem>
            <asp:ListItem>1986</asp:ListItem>
            <asp:ListItem>1985</asp:ListItem>
            <asp:ListItem>1984</asp:ListItem>
            <asp:ListItem>1983</asp:ListItem>
            <asp:ListItem>1982</asp:ListItem>
            <asp:ListItem>1981</asp:ListItem>
            <asp:ListItem>1980</asp:ListItem>
        </asp:DropDownList>
                        </p>
                        <p>
                            Card identification number:</p>
                        <p>
                            <asp:TextBox ID="tbCardIndenNumber" runat="server" Width="220px"></asp:TextBox>
&nbsp;</p>
                    </fieldset>
                    <fieldset id="moodle_interests" class="clearfix">
                        <legend class="ftoggler">Change account info</legend>
                        <p>
                            Username*:</p>
                        <p>
                            <asp:TextBox ID="tbUsername" runat="server" Height="22px" Width="220px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="tbUsername" ErrorMessage="not enter username " 
                ForeColor="#FF3300"></asp:RequiredFieldValidator>
                        </p>
                        <p>
                            Password*:</p>
                        <p>
                            <asp:TextBox ID="tbPassword" runat="server" Width="220px" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="tbPassword" ErrorMessage="not enter password" 
                ForeColor="#FF3300"></asp:RequiredFieldValidator>
                        </p>
                        <p>
                            Current Avatar:<asp:Image 
                                ID="Image1" runat="server" Width="62px"                 
                onprerender="Page_Load" AlternateText="No Image" />
                        </p>
                        <p>
		    <asp:FileUpload ID="fuAvatar" runat="server" Width="267px" />
&nbsp;</p>
                        <div class="advancedbutton">
                        </div>
                        <div class="fcontainer clearfix">
                            <div class="fitem">
                                <div class="fitemtitle">
                                </div>
                                <div class="felement ftextarea">
                                </div>
                            </div>
                        </div>
                    </fieldset>
                    <p>
                        There are required fields in this form marked<img alt="Required field" src="http://courses.fit.hcmus.edu.vn/pix/req.gif">.</p>
                        <asp:Button ID="btnOK" runat="server" Text="Update" 
                        onclick="btnOK_Click"  />
        <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
            UseSubmitBehavior="False" onclick="btnCancel_Click"  />
                </div>
            </div>
            <br class="clear">
        </div>
        <!-- END Content -->
        <div id="footer">
        </div>
        </div>
        <!-- END Container -->
        </form>
    </body>
</html>
